<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>css样式</title>
		<style type="text/css">
			/*内部css样式*/
			
			body {
				/*背景颜色*/
				background-color: #BCD68D;
				/*背景图片*/
				background-image: url(img/001.jpg);
				/*是否重复*/
				background-repeat: no-repeat;
				/*起始位置*/
				background-position: 10% 60%;
				/*背景图片大小：可以拉伸铺满整个屏幕*/
				background-size: cover;
				/*北京图片是否固定，不随滚动条滚动*/
				background-attachment: fixed;
			}
		</style>
	</head>
	<!--内联样式-->
	<!--<body style="background-image: url(img/iPhone.jpg);">
		</body>
	-->
	<body>
	</body>

</html>